<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
  <link rel="stylesheet"
 href="http://static.ak.connect.facebook.com/css/fb_connect.css"
 type="text/css">
  <link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<div class="fbinfobox" style="width: 500px;">Login to Facebook: <fb:login-button></fb:login-button>
</div>
<script
 src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"
 type="text/javascript"></script>
<script type="text/javascript"> 
FB_RequireFeatures(["XFBML"], function() { 
FB.Facebook.init("YOUR_API_KEY_HERE", "<path from web root>/xd_receiver.htm"); 
FB.Facebook.get_sessionState().waitUntilReady(
function() {
//window.alert("Session is ready");

 
  }); 

}); </script>
</body>
</html>
